import 'package:xin_he/generated/json/base/json_field.dart';
import 'package:xin_he/generated/json/xin_he_user_info_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class XinHeUserInfoEntity {
	int? id;
	int? removed;
	String? remark;
	int? versionNum;
	int? createTime;
	int? updateTime;
	dynamic fCreateUserId;
	dynamic fUpdateUserId;
	int? fServiceId;
	int? fUserId;
	String? memberStatus;
	String? iconPath;
	String? nickname;
	String? name;
	String? mobile;
	String? code;
	String? parentCode;
	int? gender;
	String? level;
	dynamic adoptionDate;
	String? role;
	int? adoptionNum;
	String? password;
	String? newReference;
	String? roleTwo;
	int? identifying;
	int? twoThawNo;
	int? threeThawNo;
	int? twoThawAdopted;
	int? threeThawAdopted;
	int? isImportMember;
	int? disengageNo;

	XinHeUserInfoEntity();

	factory XinHeUserInfoEntity.fromJson(Map<String, dynamic> json) => $XinHeUserInfoEntityFromJson(json);

	Map<String, dynamic> toJson() => $XinHeUserInfoEntityToJson(this);

	XinHeUserInfoEntity copyWith({int? id, int? removed, String? remark, int? versionNum, int? createTime, int? updateTime, dynamic fCreateUserId, dynamic fUpdateUserId, int? fServiceId, int? fUserId, String? memberStatus, String? iconPath, String? nickname, String? name, String? mobile, String? code, String? parentCode, int? gender, String? level, dynamic adoptionDate, String? role, int? adoptionNum, String? password, String? newReference, String? roleTwo, int? identifying, int? twoThawNo, int? threeThawNo, int? twoThawAdopted, int? threeThawAdopted, int? isImportMember, int? disengageNo}) {
		return XinHeUserInfoEntity()
			..id= id ?? this.id
			..removed= removed ?? this.removed
			..remark= remark ?? this.remark
			..versionNum= versionNum ?? this.versionNum
			..createTime= createTime ?? this.createTime
			..updateTime= updateTime ?? this.updateTime
			..fCreateUserId= fCreateUserId ?? this.fCreateUserId
			..fUpdateUserId= fUpdateUserId ?? this.fUpdateUserId
			..fServiceId= fServiceId ?? this.fServiceId
			..fUserId= fUserId ?? this.fUserId
			..memberStatus= memberStatus ?? this.memberStatus
			..iconPath= iconPath ?? this.iconPath
			..nickname= nickname ?? this.nickname
			..name= name ?? this.name
			..mobile= mobile ?? this.mobile
			..code= code ?? this.code
			..parentCode= parentCode ?? this.parentCode
			..gender= gender ?? this.gender
			..level= level ?? this.level
			..adoptionDate= adoptionDate ?? this.adoptionDate
			..role= role ?? this.role
			..adoptionNum= adoptionNum ?? this.adoptionNum
			..password= password ?? this.password
			..newReference= newReference ?? this.newReference
			..roleTwo= roleTwo ?? this.roleTwo
			..identifying= identifying ?? this.identifying
			..twoThawNo= twoThawNo ?? this.twoThawNo
			..threeThawNo= threeThawNo ?? this.threeThawNo
			..twoThawAdopted= twoThawAdopted ?? this.twoThawAdopted
			..threeThawAdopted= threeThawAdopted ?? this.threeThawAdopted
			..isImportMember= isImportMember ?? this.isImportMember
			..disengageNo= disengageNo ?? this.disengageNo;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}